<?php
/**
 * Created by PhpStorm.
 * User: meng
 * Date: 2023/9/5
 * Time: 11:48
 */

namespace lib\exception;

use RuntimeException;
use support\Response;

class HttpResponseException extends RuntimeException
{
    protected $response;

    public function __construct(Response $response)
    {
        parent::__construct();
        $this->response = $response;
    }

    public function getResponse(): Response {
        return $this->response;
    }
}
